package com.example.demo.service;

import com.example.demo.domain.entity.ChapterEntity;

public interface ChapterService {
    /**
     * 获取章节信息
     *
     * @param id 章节id
     * @return ChapterEntity
     */
    ChapterEntity selectChapter(int id);

    /**
     * 增加章节内容
     */
    void insertCapter(Long bookId, String content);
}
